<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- 使用模块化 module -->
    <script src="app.js" type="module"></script>
    <title>Vue-hd</title>
  </head>
  <body>
    <div id="app" style="border: solid 1px black; padding: 10px">
      <input type="text" v-model="name" />
      <hr />
      <input type="text" v-model="name" />
      <hr />
      <input type="text" v-model="title" />
      <h1 v-text="name" style="padding: 10px; border: solid 1px gray"></h1>
      <hr />
      <button @click="change">更改数据</button>
    </div>
    <!-- <div id="hd" style="border: solid 2px blue; margin-top: 30px; padding: 20px"></div> -->
  </body>
</html>
